package com.innovatio.validator.annotations;

import com.innovatio.validator.handlers.ValidateEmailHandler;
import com.innovatio.validator.i18n.I18NPropertyKey;
import com.innovatio.validator.i18n.WebI18N;
import com.innovatio.utils.general.CommonsUtils;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * This code is property of Innovatio Software Solutions, Inc.
 * Project PaySmart
 * User: Ramon
 * Date: Mar 4, 2009
 * Time: 11:32:28 AM
 */
@Target(java.lang.annotation.ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Validation(ValidateEmailHandler.class)
public @interface ValidateEmail {
    String domain() default CommonsUtils.EMPTY;
    String i18nBundleKey() default "validation_mail";
}
